﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BonsaiScrum.Mvc.Models.CreateStoryModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	CreateStory
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>CreateStory</h2>
    <p>Create Story:</p>
    
    <% using (Html.BeginForm()) { %>
        <%= Html.ValidationSummary(true, "Create story failed. Please correct the errors and try again.") %>
        <div>
            <fieldset>
                <legend>Account Information</legend>
                
                <div class="editor-label">
                    <%= Html.LabelFor(m => m.StoryDescription ) %>
                </div>
                <div class="editor-field">
                    <%= Html.TextAreaFor (m => m.StoryDescription ) %>
                    <%= Html.ValidationMessageFor(m => m.StoryDescription ) %>
                </div>
                <%= Html.HiddenFor(x => x.ProjectID) %>

                <p>
                    <input type="submit" value="Create Story" />
                </p>
            </fieldset>
        </div>
    <% } %>
    
</asp:Content>
